﻿using System;
using System.Collections.Generic;
using System.Text;

namespace DiscoveryLogic.DataServices.DataSources
{
    public class Statement
    {
        #region Public Properties

        private DateTime startDate;

        public DateTime StartDate
        {
            get
            {
                return startDate;
            }
            set
            {
                startDate = value;
            }
        }

        private string abbreviation;

        public string Abbreviation
        {
            get
            {
                return abbreviation;
            }
            set
            {
                abbreviation = value;
            }
        }


        private string title;

        public String Title
        {
            get
            {
                return title;
            }
            set
            {
                title = value;
            }
        }

        private DateTime endDate;

        public DateTime EndDate
        {
            get
            {
                return endDate;
            }
            set
            {
                endDate = value;
            }
        }

        private double creditAvailable;

        public double CreditAvailable
        {
            get
            {
                return creditAvailable;
            }
            set
            {
                creditAvailable = value;
            }
        }

        private double overLimitAmount;

        public double OverLimitAmount
        {
            get
            {
                return overLimitAmount;
            }
            set
            {
                overLimitAmount = value;
            }
        }

        private DateTime paymentDueDate;

        public DateTime PaymentDueDate
        {
            get
            {
                return paymentDueDate;
            }
            set
            {
                paymentDueDate = value;
            }
        }

        private Transaction[] transactions;

        public Transaction[] Transactions
        {
            get
            {
                if (transactions == null)
                {
                    transactions = new Transaction[0];
                }
                return transactions;
            }
            set
            {
                transactions = value;
            }
        }

        #endregion Public Properties
    }
}
